home *** CD-ROM | disk | FTP | other *** search
/ Precision Software Appli…tions Silver Collection 4 / Precision Software Applications Silver Collection Volume 4 (1993).iso / drivers / logimou.exe / INSTALL.BAT < prev    next >
DOS Batch File  |  1992-04-09  |  3KB  |  107 lines

  1. echo off
  2. cls
  3. IF NOT EXIST COMCHECK.EXE GOTO WRONGDSK
  4. IF NOT EXIST PKUNZIP.EXE  GOTO WRONGDSK
  5. goto START
  6. :WRONGDSK
  7. echo  
  8. echo          The current drive/directory must be the mouse disk.
  9. echo  
  10. echo          Example:
  11. echo          -------
  12. echo  
  13. echo          To install your mouse software from the drive A, type
  14. echo  
  15. echo          A:        [┘]
  16. echo          INSTALL   [┘]
  17. goto ENDERROR
  18. :START
  19. echo  
  20. echo  
  21. echo        Running Mouse Installation Program
  22. echo  
  23. echo  
  24. echo        Searching for a mouse...... Please wait
  25. echo  
  26. echo  
  27. click out > nul
  28. mouse cenhance ser lo nb > nul
  29. if errorlevel 128 goto LookForOther
  30. goto RunMWINST
  31. :LookForOther
  32. echo  
  33. echo        Searching for a mouse...... Please wait
  34. echo  
  35. mouse cenhance lo nb > nul
  36. if errorlevel 141 goto BUSERR
  37. if errorlevel 128 goto PS2SERIAL
  38. :RunMWINST
  39. click > nul
  40. MWINST MSMMLDADDC > nul
  41. if errorlevel 2 GOTO TERMINATED
  42. if errorlevel 1 GOTO INITERROR
  43. cls
  44. echo  
  45. echo  
  46. echo          End of Mouse Installation.
  47. echo  
  48. echo          Please re-boot your machine now.
  49. echo  
  50. echo  
  51. goto THEEND
  52. :INITERROR
  53. echo  
  54. echo  
  55. echo          Installation program could not run.
  56. echo  
  57. echo          Make sure you have enough file handles in CONFIG.SYS.
  58. echo  
  59. echo          E.g.    FILES=20
  60. GOTO ENDERROR
  61. :TERMINATED
  62. echo  
  63. echo  
  64. echo          Installation terminated!
  65. echo  
  66. echo          Your mouse software has not been installed correctly.
  67. GOTO ENDERROR.
  68. :PS2SERIAL
  69. cls
  70. echo  
  71. echo          Your PS/2 or serial mouse is not responding......
  72. echo  
  73. echo          PS/2 mouse: 
  74. echo            - Turn your computer off.
  75. echo            - Re-check the mouse cable connection.
  76. echo            - Re-boot and try the installation once again.
  77. echo  
  78. echo          Serial mouse:
  79. echo            - Run the COMCHECK program (type A:\COMCHECK) to check
  80. echo              your serial port(s) interrupts and mouse connection.
  81. echo            - Turn your computer off.
  82. echo            - Re-check the mouse cable connection.
  83. echo            - Re-boot and try the installation once again.
  84. goto ENDERROR  
  85. :BUSERR
  86. cls
  87. echo  
  88. echo          Your Bus Version mouse is not responding...
  89. echo  
  90. echo          - Turn your computer off.
  91. echo          - Re-check the cable connection and your bus board 
  92. echo            installation.
  93. echo          - Make sure the interrupt jumper is set.
  94. echo          - Re-boot and try the installation once again.
  95. :ENDERROR
  96. echo  
  97. echo          
  98. echo          For more information, please refer to your documentation.
  99. echo  
  100. echo  
  101. echo  
  102. echo  
  103. echo  
  104. goto THEEND
  105. :THEEND
  106. echo on
  107.